package com.ww.springboot.springstudy.runner;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * 描述：与applicationRunner 类似 只是入参不一样 可以使用@order排序~
 * <p>
 * spring
 *
 * @author 🧑 ‍wanwei
 * @since 2022-06-30 10:09
 */
@Component
public class StartCommandLineRunner implements CommandLineRunner {

    @Override
    public void run(String... args) {
        System.out.println("StartCommandLineRunner--" + args);
    }
}
